<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html>
<head>
	<title><bean:message key="Public.Success.Head" />
	</title>
	<META http-equiv="Content-Style-Type" content="text/css">
	<LINK href="<%=request.getContextPath()%>/CSS/INDEX.css"
		rel="stylesheet" type="text/css">
</head>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/COMMON.JS"></script>
<body text="#000000" leftmargin="10" topmargin="0" bgcolor="#FFFFFF">
	<TABLE WIDTH="96%" BORDER="0" CELLSPACING="0" CELLPADDING="0"
		ALIGN="CENTER">
		<TR>
			<TD>
				<IMG SRC="<%=request.getContextPath()%>/images/success.gif"
					WIDTH="36px" HEIGHT="36px">
				<BR>
			</TD>
		</TR>
	</TABLE>
	<TABLE WIDTH="60%" BORDER="0" CELLSPACING="1" CELLPADDING="5"
		BGCOLOR="#838383" ALIGN="CENTER">
		<TR ALIGN="CENTER">
			<TD HEIGHT="22"></TD>
		</TR>
		<TR>
			<TD BGCOLOR="#FFFFFF" HEIGHT="37">
				<TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="15">
					<TR>
						<td width="83%" valign="top">
							<b> <bean:message key="Public.Success.Title" /> </b>
							<div align="center">
								<bean:message key="${SuccessMsg}" />
							</div>
							<div align="center">
								<c:if test="${formname=='IncrementServiceForm'}">
									${strlist}
							  	</c:if>
								<c:if test="${formname=='CashForm'}">
									<bean:message key="Policy.policycode"/><bean:message key="Public.colon"/>${policyCode}
							  	</c:if>
								<c:if test="${formname=='NfreePolicyForm'}">
									<bean:message key="Policy.policycode"/><bean:message key="Public.colon"/>${policyCode}
							  	</c:if>
								<c:if test="${formname=='DiscountPolicyForm'}">
									<bean:message key="Policy.policycode"/><bean:message key="Public.colon"/>${policyCode}
							  	</c:if>
								<c:if test="${formname=='FreeformatPolicyForm'}">
									<bean:message key="Policy.policycode"/><bean:message key="Public.colon"/>${policyCode}
							  	</c:if>
								<c:if test="${formname=='NAvoidOneForm'}">
									<bean:message key="Policy.navoidone.billnumber"/><bean:message key="Public.colon"/>${serialid}
							  	</c:if>
							</div>
							<!--<c:if test="${returnstr != null}">
								<div align="center">
									<bean:write name="returnstr"/><bean:message key="Public.returnstr" />
								</div>
							</c:if>-->
						</td>
					</TR>
				</TABLE>
			</TD>
		</TR>
	</TABLE>
	<BR>
	<form name="<c:url value='${formname}'/>" action="" method="post">
	  	<c:if test="${oper==1}">
			<input type="hidden" name="page" value="<bean:write name='page' />" />
			<input type="hidden" name="pageSize" value="<bean:write name='pageSize' />" />
			<c:if test="${formname=='RoleForm'}">
		  		<input type="hidden" name="qrolename" value="<bean:write name='qrolename' />" />
		  	</c:if>
			<c:if test="${formname=='IncrementGiftForm'}">
				<input type="hidden" name="qgiftname" value="<bean:write name='qgiftname' />"/>
				<input type="hidden" name="qgiftItemCode" value="<bean:write name='qgiftItemCode' />"/>
				<input type="hidden" name="airportCodeid" value="<bean:write name='airportCodeid' />"/>
				<input type="hidden" name="qbeginDate" value="<bean:write name='qbeginDate' />"/>
				<input type="hidden" name="qendDate" value="<bean:write name='qendDate' />"/>
				<input type="hidden" name="page" value="<bean:write name='page'/>"/>
				<input type="hidden" name="pageSize" value="<bean:write name='pageSize'/>"/>
		  	</c:if>
			<c:if test="${formname=='IncrementServiceForm'}">
				<input type="hidden" name="qservicename" value="<bean:write name='qservicename' />"/>
				<input type="hidden" name="qserviceListSerial" value="<bean:write name='qserviceListSerial' />"/>
				<input type="hidden" name="airportCodeid" value="<bean:write name='airportCodeid' />"/>
				<input type="hidden" name="qbeginDate" value="<bean:write name='qbeginDate' />"/>
				<input type="hidden" name="qendDate" value="<bean:write name='qendDate' />"/>
				<input type="hidden" name="qusestatus" value="<bean:write name='qusestatus' />"/>
				<input type="hidden" name="page" value="<bean:write name='page'/>"/>
				<input type="hidden" name="pageSize" value="<bean:write name='pageSize'/>"/>
		  	</c:if>
			<c:if test="${formname=='CashForm'}">
				<input type="hidden" name="qpolicyCode" value="<bean:write name='qpolicyCode' />"/>
				<input type="hidden" name="qisByClass" value="<bean:write name='qisByClass' />"/>
				<input type="hidden" name="qisCash" value="<bean:write name='qisCash' />"/>
				<input type="hidden" name="qisDomestic" value="<bean:write name='qisDomestic' />"/>
				<c:forEach items="${qairportCodeidList}" var="airportcode" varStatus="status">
				<input type="hidden" name="qairportCodeidList" value="<c:out value='${airportcode}'></c:out>"/>
				</c:forEach>
				<input type="hidden" name="page" value="<bean:write name='page'/>"/>
				<input type="hidden" name="pageSize" value="<bean:write name='pageSize'/>"/>
		  	</c:if>
			<c:if test="${formname=='NfreePolicyForm'}">
				<input type="hidden" name="qpolicyCode" value="<bean:write name='qpolicyCode' />"/>
				<input type="hidden" name="qfixedTicketAmount" value="<bean:write name='qfixedTicketAmount' />"/>
				<input type="hidden" name="qBDomestic" value="<bean:write name='qBDomestic' />"/>
				<input type="hidden" name="qBGroupUser" value="<bean:write name='qBGroupUser' />"/>
				<c:forEach items="${qairportCodeidList}" var="airportcode" varStatus="status">
				<input type="hidden" name="qairportCodeidList" value="<c:out value='${airportcode}'></c:out>"/>
				</c:forEach>
				<input type="hidden" name="page" value="<bean:write name='page'/>"/>
				<input type="hidden" name="pageSize" value="<bean:write name='pageSize'/>"/>
		  	</c:if>
			<c:if test="${formname=='DiscountPolicyForm'}">
				<input type="hidden" name="qpolicyCode" value="<bean:write name='qpolicyCode' />"/>
				<input type="hidden" name="qisDomestic" value="<bean:write name='qisDomestic' />"/>
				<c:forEach items="${qairportCodeidList}" var="airportcode" varStatus="status">
				<input type="hidden" name="qairportCodeidList" value="<c:out value='${airportcode}'></c:out>"/>
				</c:forEach>
				<input type="hidden" name="page" value="<bean:write name='page'/>"/>
				<input type="hidden" name="pageSize" value="<bean:write name='pageSize'/>"/>
		  	</c:if>
			<c:if test="${formname=='FreeformatPolicyForm'}">
				<input type="hidden" name="qpolicyCode" value="<bean:write name='qpolicyCode' />"/>
				<input type="hidden" name="qisDomestic" value="<bean:write name='qisDomestic' />"/>
				<c:forEach items="${qairportCodeidList}" var="airportcode" varStatus="status">
				<input type="hidden" name="qairportCodeidList" value="<c:out value='${airportcode}'></c:out>"/>
				</c:forEach>
				<input type="hidden" name="page" value="<bean:write name='page'/>"/>
				<input type="hidden" name="pageSize" value="<bean:write name='pageSize'/>"/>
		  	</c:if>
			<c:if test="${formname=='AdjustForm'}">
				<input type="hidden" name="qawardType" value="<bean:write name='qawardType'/>"/>
				<c:forEach items="${qairportCodeidList}" var="airportcode" varStatus="status">
					<input type="hidden" name="qairportCodeidList" value="<c:out value='${airportcode}'></c:out>"/>
				</c:forEach>
				<input type="hidden" name="qgroupUserCode" value="<bean:write name='qgroupUserCode'/>"/>
				<input type="hidden" name="qgroupUserName" value="<bean:write name='qgroupUserName'/>"/>
				<input type="hidden" name="qoperPeople" value="<bean:write name='qoperPeople'/>"/>
				<c:forEach items="${qyearList}" var="year" varStatus="status">
					<input type="hidden" name="qyearList" value="<c:out value='${year}'></c:out>"/>
				</c:forEach>
				<c:forEach items="${qmonthList}" var="month" varStatus="status">
					<input type="hidden" name="qmonthList" value="<c:out value='${month}'></c:out>"/>
				</c:forEach>
				<input type="hidden" name="dguc" value="<bean:write name='dguc'/>"/>
				<input type="hidden" name="dyear" value="<bean:write name='dyear'/>"/>
				<input type="hidden" name="dmonth" value="<bean:write name='dmonth'/>"/>
				<input type="hidden" name="disclass" value="<bean:write name='disclass'/>"/>
				<input type="hidden" name="discash" value="<bean:write name='discash'/>"/>
				<input type="hidden" name="page" value="<bean:write name='page'/>"/>
				<input type="hidden" name="pageSize" value="<bean:write name='pageSize'/>"/>
				<input type="hidden" name="mpage" value="<bean:write name='mpage'/>"/>
				<input type="hidden" name="mpageSize" value="<bean:write name='mpageSize'/>"/>
				<input type="hidden" name="adjustStateid" value="<bean:write name='adjustStateid'/>"/>
		  	</c:if>
		</c:if>
		<TABLE WIDTH="96%" BORDER="0" CELLSPACING="0" CELLPADDING="0"
			ALIGN="CENTER">
			<TR>
				<TD ALIGN="CENTER">
					<c:if test="${flag==1}"><a href="#" onclick="javascript:returnquerypage('<c:url value='${formname}'/>','<c:url value='${ReturnUrl}'/>')">&#171;<bean:message key="Public.return" /> </a></c:if>
					<c:if test="${flag==null}"><a href="<c:url value='/'/>" onclick="history.back(); return false">&#171;<bean:message key="Public.return" /> </a></c:if>
				</TD>
			</TR>
		</TABLE>
	</form>
	<BR>
</body>
</html:html>
